.class Lcom/xingbook/park/activity/ak;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/tencent/tauth/b;


# instance fields
.field final synthetic a:Lcom/xingbook/park/activity/aj;


# direct methods
.method constructor <init>(Lcom/xingbook/park/activity/aj;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/park/activity/ak;->a:Lcom/xingbook/park/activity/aj;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 3

    iget-object v0, p0, Lcom/xingbook/park/activity/ak;->a:Lcom/xingbook/park/activity/aj;

    invoke-static {v0}, Lcom/xingbook/park/activity/aj;->a(Lcom/xingbook/park/activity/aj;)Lcom/xingbook/park/activity/ai;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/park/activity/ai;->a(Lcom/xingbook/park/activity/ai;)Lcom/xingbook/park/activity/LoginAct;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/park/activity/LoginAct;->e(Lcom/xingbook/park/activity/LoginAct;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ak;->a:Lcom/xingbook/park/activity/aj;

    invoke-static {v0}, Lcom/xingbook/park/activity/aj;->a(Lcom/xingbook/park/activity/aj;)Lcom/xingbook/park/activity/ai;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/park/activity/ai;->a(Lcom/xingbook/park/activity/ai;)Lcom/xingbook/park/activity/LoginAct;

    move-result-object v0

    const-string v1, "\u60a8\u53d6\u6d88\u4e86QQ\u8d26\u53f7\u767b\u5f55"

    const/4 v2, 0x1

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    return-void
.end method

.method public a(Lcom/tencent/tauth/d;)V
    .locals 3

    iget-object v0, p0, Lcom/xingbook/park/activity/ak;->a:Lcom/xingbook/park/activity/aj;

    invoke-static {v0}, Lcom/xingbook/park/activity/aj;->a(Lcom/xingbook/park/activity/aj;)Lcom/xingbook/park/activity/ai;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/park/activity/ai;->a(Lcom/xingbook/park/activity/ai;)Lcom/xingbook/park/activity/LoginAct;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/park/activity/LoginAct;->e(Lcom/xingbook/park/activity/LoginAct;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ak;->a:Lcom/xingbook/park/activity/aj;

    invoke-static {v0}, Lcom/xingbook/park/activity/aj;->a(Lcom/xingbook/park/activity/aj;)Lcom/xingbook/park/activity/ai;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/park/activity/ai;->a(Lcom/xingbook/park/activity/ai;)Lcom/xingbook/park/activity/LoginAct;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "\u767b\u5f55\u5f02\u5e38\uff1a"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p1, Lcom/tencent/tauth/d;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget v2, p1, Lcom/tencent/tauth/d;->a:I

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    return-void
.end method

.method public a(Ljava/lang/Object;)V
    .locals 7

    const/4 v3, 0x0

    const/4 v4, 0x1

    :try_start_0
    check-cast p1, Lorg/json/JSONObject;

    iget-object v0, p0, Lcom/xingbook/park/activity/ak;->a:Lcom/xingbook/park/activity/aj;

    invoke-static {v0}, Lcom/xingbook/park/activity/aj;->a(Lcom/xingbook/park/activity/aj;)Lcom/xingbook/park/activity/ai;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/park/activity/ai;->a(Lcom/xingbook/park/activity/ai;)Lcom/xingbook/park/activity/LoginAct;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/park/activity/LoginAct;->f(Lcom/xingbook/park/activity/LoginAct;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_4

    const/4 v0, 0x0

    const-string v1, "gender"

    invoke-virtual {p1, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_6

    const-string v1, "gender"

    invoke-virtual {p1, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const-string v2, "\u7537"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_3

    :goto_0
    const-string v0, "figureurl_qq_2"

    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_5

    const-string v0, "figureurl_qq_2"

    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    :goto_1
    const-string v0, "nickname"

    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string v0, "nickname"

    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    :cond_0
    new-instance v6, Ljava/lang/StringBuilder;

    const-string v0, "/"

    invoke-direct {v6, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v0, "province"

    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    const-string v0, "province"

    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v6, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    :cond_1
    const-string v0, "/"

    invoke-virtual {v6, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v0, "city"

    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    const-string v0, "city"

    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v6, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    :cond_2
    iget-object v0, p0, Lcom/xingbook/park/activity/ak;->a:Lcom/xingbook/park/activity/aj;

    invoke-static {v0}, Lcom/xingbook/park/activity/aj;->a(Lcom/xingbook/park/activity/aj;)Lcom/xingbook/park/activity/ai;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/park/activity/ai;->a(Lcom/xingbook/park/activity/ai;)Lcom/xingbook/park/activity/LoginAct;

    move-result-object v0

    const/4 v1, 0x1

    iget-object v2, p0, Lcom/xingbook/park/activity/ak;->a:Lcom/xingbook/park/activity/aj;

    invoke-static {v2}, Lcom/xingbook/park/activity/aj;->a(Lcom/xingbook/park/activity/aj;)Lcom/xingbook/park/activity/ai;

    move-result-object v2

    invoke-static {v2}, Lcom/xingbook/park/activity/ai;->a(Lcom/xingbook/park/activity/ai;)Lcom/xingbook/park/activity/LoginAct;

    move-result-object v2

    invoke-static {v2}, Lcom/xingbook/park/activity/LoginAct;->f(Lcom/xingbook/park/activity/LoginAct;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-static/range {v0 .. v6}, Lcom/xingbook/park/activity/LoginAct;->a(Lcom/xingbook/park/activity/LoginAct;ILjava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V

    :goto_2
    return-void

    :cond_3
    const-string v2, "\u5973"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_6

    const/4 v4, 0x2

    goto :goto_0

    :cond_4
    iget-object v0, p0, Lcom/xingbook/park/activity/ak;->a:Lcom/xingbook/park/activity/aj;

    invoke-static {v0}, Lcom/xingbook/park/activity/aj;->a(Lcom/xingbook/park/activity/aj;)Lcom/xingbook/park/activity/ai;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/park/activity/ai;->a(Lcom/xingbook/park/activity/ai;)Lcom/xingbook/park/activity/LoginAct;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/park/activity/LoginAct;->e(Lcom/xingbook/park/activity/LoginAct;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_2

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    iget-object v0, p0, Lcom/xingbook/park/activity/ak;->a:Lcom/xingbook/park/activity/aj;

    invoke-static {v0}, Lcom/xingbook/park/activity/aj;->a(Lcom/xingbook/park/activity/aj;)Lcom/xingbook/park/activity/ai;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/park/activity/ai;->a(Lcom/xingbook/park/activity/ai;)Lcom/xingbook/park/activity/LoginAct;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/park/activity/LoginAct;->e(Lcom/xingbook/park/activity/LoginAct;)V

    goto :goto_2

    :cond_5
    move-object v5, v3

    goto/16 :goto_1

    :cond_6
    move v4, v0

    goto/16 :goto_0
.end method
